//
//  XMLParser.h
//  xmldemo
//
//  Created by fangdi on 09-9-14.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Stack.h"
#import "XMLDocument.h"
#import "XMLNode.h"
#import "XMLText.h"
#import "XMLAttribute.h"

@interface XMLParser : NSObject {
	@private
	Stack *stack;
	XMLDocument *document;
	//是否为父节点
	BOOL isRoot;
	NSXMLParser *parser;
}

-(id)initWithContentsOfFile: (NSString *)filePath;
-(XMLDocument *)getDocument;
@end
